package cn.com.nes.mybatis.agent.maintenanceReminder.mapper;

import cn.com.nes.site.entity.dto.maintenanceReminder.MaintenanceEquipmentDto;
import cn.com.nes.site.entity.vo.maintenanceReminder.MaintenanceEquipmentVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * @author nes
 */
public interface MaintenanceEquipmentMapper extends BaseMapper<MaintenanceEquipmentVo> {

    Integer addMaintenanceEquipment(@Param("vo") MaintenanceEquipmentVo vo);

    List<MaintenanceEquipmentDto> queryMaintenanceEquipment(Page<MaintenanceEquipmentDto> page, @Param("vo") MaintenanceEquipmentVo vo);

    Integer deleteMaintenanceEquipmentById(@Param("vo") MaintenanceEquipmentVo vo);

    Integer updateMaintenanceEquipment(@Param("vo") MaintenanceEquipmentVo vo);

}